#include "key.h"


uint32_t key = 0;

void key_read(void)
{
	key = 0;
	key = (LL_GPIO_ReadInputPort(KEY1_GPIO_Port) & 0xE2);
}


void print_keyValue()
{
	UART1_print("key1:%d key2:%d key3:%d TF:%d\n", key&0x80, key&0x40, key&0x20, key&0x02);
}





